[paket]
tanim   = LXDE için hafif X11 masaüstü yöneticisi
paketci = Cihan_Alkan
grup 	= lxde
url     = https://lxde.org/

[gerek]
derleme = 
calisma = alsa-lib curl menu-cache lxmenu-data libfm

[kaynak]
#xz      = https://downloads.sourceforge.net/lxde
1= http://ponce.cc/slackware/sources/repo/lxde/lxdm-20170805_e3e7517.tar.xz
dosya   = set-path.patch
dosya   = git-fixes.patch
dosya   = default-config.patch
dosya   = lxdm.pam
dosya   = Xsession

[sha256]
#1 		= 4891efee81c72a400cc6703e40aa76f3f3853833d048b72ec805da0f93567f2f

[derle]
betik 	= cd lxdm-20170805_e3e7517
betik 	= cp ../Xsession data/Xsession
betik 	= cp ../lxdm.pam pam/lxdm
betik 	= echo 'test -x /usr/bin/pax11publish && /usr/bin/pax11publish -r' >> data/PostLogout.in
betik 	= ./autogen.sh 
betik 	=  ./configure --prefix=/usr sbindir=/usr/bin --libexecdir=/usr/lib/lxdm --sysconfdir=/etc --localstatedir=/var --enable-gtk3
betik 	= make
	      
[pakur]
betik 	= cd lxdm-20170805_e3e7517
betik 	= make DESTDIR="$PKG" prefix=/usr install
betik 	= chmod 644 "$PKG/etc/lxdm/lxdm.conf"
betik 	= install -dm755 "$PKG"/usr/lib/{sysusers,tmpfiles}.d
betik 	= echo 'u lxdm - "Lightweight X11 Display Manager" /var/lib/lxdm' > "$PKG/usr/lib/sysusers.d/$isim.conf"
betik 	= echo 'd /var/lib/lxdm 0700 lxdm lxdm - -' > "$PKG/usr/lib/tmpfiles.d/$isim.conf"
betik 	= install -dm 755 "$PKG/var/lib/lxdm"
betik 	= echo 'GDK_CORE_DEVICE_EVENTS=true' > "$PKG"/var/lib/lxdm/.pam_environment
betik 	= chown -R 121:121 "$PKG/var/lib/lxdm"
betik = rm $PKG/lib/systemd/system/lxdm.service
betik = rmdir $PKG/lib/systemd/system
betik = rmdir $PKG/lib/systemd
betik = rmdir $PKG/lib
servis = lxdm
